Add support for custom games (shard 1): initial build scaffolding - #1
Open
dejabot wants to merge 1 commit into
Open
Add support for custom games (shard 1): initial build scaffolding#1dejabot wants to merge 1 commit into
dejabot wants to merge 1 commit into
Conversation
dejabot
force-pushed
the
custom-games-shard-1
branch
from
July 14, 2026 08:41
134561c to
0f8df20
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for "custom games". Full implementation in
feature/custom-games. The overall goal with this feature is to:We do this by a) using build tags to compile alternate code paths for a "custom" game and b) define the custom game in a YAML file and autogenerate most of the code, HTML, javascript, etc for that game. See docs/CUSTOM_GAMES.md for more details.
This PR is split into four shards.
This first shard sets up the overall scaffolding for building an alternate
cheesy-arenabinary through the use of Go build tags, specifically thecustomtag. When the custom tag is supplied to the build, Cheesy Arena dispatches to custom versions of the UI, etc. Custom games also disable FRC game specific integrations such as TBA, Nexus, etc.This shard is not complete in and of itself: the normal (non-custom) build is unchanged, and a
-tags custombuild only succeeds once shard 2 adds the generator. It sets up for the overall feature as implemented across subsequent shards: